package dataTypesPackage;

public class Ulke {
	private int ulkeID=1;
	private String name;
	private int gmt;
	
	public Ulke(String name, int gmt) {
		// creates a Ulke according to the given parameters.
		this.name = name;
		this.gmt = gmt;
	}
	
	public Ulke() {
		// Creates an empty Ulke
		name = "";
		gmt=0;
	}

	public Ulke(int ulkeID, String name, int gmt) {
		// this function is used to create instance via database results.
		this.ulkeID = ulkeID;
		this.name = name;
		this.gmt = gmt;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getGmt() {
		return gmt;
	}
	public void setGmt(int gmt) {
		this.gmt = gmt;
	}

	public void setUlkeID(int ulkeID) {
		this.ulkeID = ulkeID;
	}

	public int getUlkeID() {
		return ulkeID;
	}
}
